<table class="list" cellspacing="1" cellpadding="5">
  <tr class="list_header">
    <td><?php echo Kohana::lang('invoice_lang.lbl_date')?></td>    
    <td><?php echo Kohana::lang('inventory_lang.lbl_from_to')?></td>
    <td><?php echo Kohana::lang('inventory_lang.lbl_remark')?></td>
    <td><?php echo Kohana::lang('product_lang.lbl_qty')?></td>  
  </tr>
  <?php for($i=0; $i<count($mlist); $i++){ ?>
  <tr class="row<?php echo $i%2==0?2:''?>">
    <td align="center"><?php echo $mlist[$i]['inventory_date']?></td>
    <td align="center"><?php echo $mlist[$i]['inventory_description']?></td>
    <td align="left"><?php echo $mlist[$i]['inventory_remark']?></td>    
    <td align="center">
		<?php if($mlist[$i]['inventory_status'] == 1){ ?>
        <font color="#0000FF">+ <?php echo $mlist[$i]['products_qty']?></font>
      	<?php } else { ?>    
        <font color="#FF0000">- <?php echo $mlist[$i]['products_qty']?></font>
      	<?php } ?>      	
	</td>
  </tr>
  <?php } ?>
</table>